package com.dongdongshop.service;

import com.dongdongshop.pojo.TbItemCat;

import java.util.List;

public interface CatService {
    List<TbItemCat> listCat(Long parentId);

    List<TbItemCat> topType(Long id);

    void addCat(TbItemCat tbItemCat);

    void delCats(List<Long> ids);

    void update(TbItemCat tbItemCat);

    TbItemCat toUpdate(Long id);

    TbItemCat getTypeIdById(Long id);
}
